<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "#//#w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="#//#w3.org/1999/xhtml">
 
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>订单信息</title>
    <meta name="Description" content="" />
    <script type="text/javascript" src="{{asset('/PassCss/js/jquery-1.10.1.min.js')}}"></script>
    <meta name="Keywords" content="" />
    <link rel="stylesheet" href="{{asset('Ding/css/common.css')}}" />
    	<link rel="stylesheet" href="{{asset('Ding/css/common.css')}}" />
    <link rel="stylesheet" href="{{asset('Ding/css/drcart.css')}}" />
    <link rel="stylesheet" href="{{asset('Ding/css/jquery.datetimepicker.css')}}" />
</head>
<body>
        <div class="cart_head">
	<div class="w1000 clearfix">
		<div class="dr_logo fl">
			<a href="/"><img src="{{asset('Ding/images/logo.png')}}" alt="" /></a>
		</div>
		<div class="dr_member fr">
			<div class="drmember_sec">
				<div class="dr_member-left fl" id="loginInInfo">
	<a href="javascript:;" class="userName">欢迎{{$nicheng}}</a>
	
</div>
<div class="dr_member-left fl">
	<i onclick="alert('温馨提醒：DR全国客服热线400-01-13520，目前因系统升级暂时无法接通。如需电话咨询，请拨打：0755-23675650，我们将竭诚为您服务！')">
		<img src="{{asset('Ding/images/telleft.png')}}"/>
		400-01-13520
	</i>
</div>				<div class="dr_member-left fl">
					<a href="/help" class="help-right">帮助中心<span></span></a>
				</div>
			</div>
		</div>
	</div>
</div>
<!--主体内容-->
<div class="checkstand w1000">
	
	<div class="checkstand_con">
		
		
		<div class="order_address">
			
			
            <div class="address_lists" style="display:block;">
				
				
			</div>
		
		</div>
		<!--收货人信息end-->
		<!--确认订单信息-->
		<div class="confirm_info">
			<div class="order_info">
				<h4>历史订单信息</h4>
				<a href="/"> &lt;&lt; 返回修改购物车 </a>
			</div>
			<table class="confirmInfo_table" cellpadding="20" border="1">
				@foreach($goods as $k=>$v)
				<thead>
					<tr>
						<td colspan='5'style="border-botton:1px solid #FFF">
							<div style="text-align:left;">订单号:
				                 <san class="">{{$k}}</san>
				                 <input class="" type="checkbox" />
							</div>
						</td>
					</tr>
					<tr>
						<td>商品名称</td>
						<td>材质</td>
						<td>手寸/尺寸</td>
						<td>刻字（内容）</td>
						<td>购买价格</td>
					</tr>
				</thead>
				<tbody>
				@foreach($v as $kk=>$vv)
				@foreach($vv as $kkk=>$vvv)


					<tr>
						<td>
							<img src="{{asset('Ding/images/1474514264.jpg')}}" width="78" height="78" />
							<div>
							   {{$vvv->gname}}
							</div>
						</td>
						<td>{{$vvv->mater}}</td>
						<td>{{$vvv->weight}}</td>
						<td>{{$vvv->gpic}}</td>
						<td><strong>{{$vvv->price}}</strong></td>
					</tr>
				
				@endforeach
				@endforeach
				@endforeach
				</tbody>

			</table>
		</div>
		
	</div>
	<!--订单结算-->
	<div class="shoppingcart_pay clearfix pay_bottom">
		<div class="scfoot_right">
			
			<button type="button" id="der" style="width:80px;height:55px;margin-left:10px;margin-top:-3px;background-color:#C9302C">删除</button>
		</div>
	</div>
	<!--订单结算end-->
</div>
<!--主体内容end-->
<div class="dr_blackwall"></div>
<script type="text/javascript">
//绑定所有的input

$('input').click(function(){
	// var a = $(this).attr('class');
	// console.log(a);
    if($(this).attr('class') == ''){
    	
	     //给当前要删除的订单元素加上class属性
		 $(this).attr('class','ding').prev().attr('class','hao');
    }else{
    	 //移出当前元素的class属性
    	 $(this).removeClass('ding').prev().removeClass('hao');
    }

     
});

     //绑定删除的单击事件
    
     $('#der').click(function(){
     	// alert(222);
       var ding = $('.hao').text();
       //存储当前对象元素
       var btn = $('.hao');
       // console.log(ding);
          
     //发送ajax
         $.get('/Lishi/delete',{ding:ding},function(data){
               // alert(data);
              if(data >= 1){
                  //删除成功
                  alert('删除成功');
                  //通过删除的对象找到他的先辈级元素tr 删除了tr

                  btn.parents('thead').next().remove();
                  btn.parents('thead').remove();
              }else{
                  //删除失败
                  alert('删除失败');
              }
});
   });         
</script>
<!--底部-->
<div class="dr_footer">
	<div class="dr_footer-top"></div>
	<!--底部图标-->
	<ul class="dr_footer-icon w1000">
		<li>
			<a href="#28">
				<i class="footer-icon1"></i>
				<span>权威认证</span>
			</a>
		</li>
		<li>
			<a href="#42">
				<i class="footer-icon2"></i>
				<span>一钻双证</span>
			</a>
		</li>
		<li>
			<a href="#41">
				<i class="footer-icon3"></i>
				<span>终生保养</span>
			</a>
		</li>
		<li>
			<a href="#43">
				<i class="footer-icon4"></i>
				<span>以小换大</span>
			</a>
		</li>
		<li>
			<a href="#45">
				<i class="footer-icon5"></i>
				<span>15天退换</span>
			</a>
		</li>
		<li>
			<a href="#36">
				<i class="footer-icon6"></i>
				<span>全国免运费</span>
			</a>
		</li>
		<li>
			<a href="#44">
				<i class="footer-icon7"></i>
				<span>全程保险</span>
			</a>
		</li>
	</ul>
	<!--底部图标end-->
	<!--灰色区域-->
	<div class="dr_gray">
		<!--帮助-->
		<div class="dr_help w1000 fix">
			<div class="dr_help-all fl">
				<div class="dr_help-top">
					<div class="dr_help-left dr_help-gz fl" id="dr_help-gz">
						关注我们
						<!--分享按钮-->
						<div class="comShare">			
                            <a class="shareWeibo" target="_blank" href="#//weibo.com/13520comcn"></a>
                            <a class="shareQzone" target="_blank" href="#//user.qzone.qq.com/2678181289/"></a>
                            <a class="shareQweibo" target="_blank" href="#//e.t.qq.com/DarryRing"></a>
                            <a class="shareRenren" target="_blank" href="#//zhan.renren.com/darryring"></a>
                            <a class="shareDouban" target="_blank" href="#//#douban.com/people/Darryring/"></a>
							<img src="{{asset('Ding/images/ew.jpg')}}" />
						</div>
						<!--分享按钮end-->
					</div>
					<a class="dr_help-left" href="/love/query">真爱查询</a>
					<a class="dr_help-left" href="/shopyd">实体店免费预约</a>
					<a class="dr_help-left droline_showkf" href="javascript:;">在线客服</a>
				</div>
			</div>
			<div class="dr_help-all fl">
				<p>免费服务热线 工作时间:9:00-22:30</p>
				<img src="{{asset('Ding/images/tel.png')}}" />
			</div>
		</div>
		<!--帮助end-->
	</div>
	<!--灰色区域end-->
	<!--黑色区域-->
	<div class="dr_black">
		<div class="w1000">
			<!--服务-->
			<ul class="dr_servie">
				<li>
					<h4>关于我们</h4>
					<a href="#28">权威认证</a>
					<a href="#30">合作专区</a>
					<a href="#32">加入我们</a>
				</li>
				<li>
					<h4>购物指南</h4>
					<a href="#34">购买流程</a>
					<a href="#27">支付方式</a>
					<a href="#36">配送流程</a>
				</li>
				<li>
					<h4>售后服务</h4>
					<a href="#37">退货流程</a>
					<a href="#38">办理售后</a>
					<a href="#45">15天退换</a>
				</li>
				<li>
					<h4>帮助中心</h4>
					<a href="#33">注册流程</a>
					<a class="droline_showkf" href="javascript:;">联系客服</a>
					<a href="javascript:;">网站地图</a>
				</li>
				<li>
					<h4>服务条款</h4>
					<a href="#41">终生保养</a>
					<a href="#46">注册协议</a>
					<a href="#47">隐私声明</a>
				</li>
				<li>
					<h4>DR资讯</h4>
					<a href="/news/10807.html">钻石百科</a>
					<a href="/news/10747.html">产品百科</a>
					<a href="/news/10742.html">求婚指南</a>
				</li>
			</ul>
			<!--服务end-->
			<!--声明-->
			<div class="dr_statement">
				<p>Copyright © 2006-2016 #darryring.com 戴瑞珠宝 All Rights Reserved. 粤ICP备11012085号-2</p>
				<p>粤ICP备11012085号-2 | 中国互联网违法信息举报中心 | 中国公安网络110报警服务 | 本网站提供所售商品的正式发票 </p>
				<p>深圳市戴瑞珠宝有限公司</p>
			</div>
			<!--声明end-->
			<!--友情链接-->
			<div class="dr_friendshare">
				<span>友情链接：</span>
				 <a href="#//m.darryring.com" target="_blank">戴瑞珠宝官网</a>
            
                <a href="#//qiuhun.darryring.com" target="_blank">求婚词</a>
            
                <a href="#//zb.darryring.com" target="_blank">钻石戒指</a>
            
                <a href="#//#meyol.com" target="_blank">魅网女性网</a>
            
                <a href="#//#paixie.net" target="_blank">拍鞋网</a>
            
                <a href="#//#51fashion.com.cn/" target="_blank">饰品品牌</a>
            
                <a href="#//hzp.onlylady.com/" target="_blank">化妆品库</a>
            
                <a href="#//nanjing.anjuke.com/" target="_blank">南京房产网</a>
            
                <a href="#//ent.vdolady.com" target="_blank">娱乐新闻</a>
            
                <a href="#//mall.jia.com/" target="_blank">建材商城</a>
            
                <a href="#//watch.xbiao.com" target="_blank">手表品牌排行</a>
            
                <a href="#//#shihuo.cn/" target="_blank">识货</a>
            
                <a href="#//vogue.moonbasa.com/" target="_blank">梦芭莎时尚网</a>
            
                <a href="#//#faxingzhan.com/" target="_blank">发型设计</a>
            
                <a href="#//#86kx.com/" target="_blank">白领</a>
            
                <a href="#//#loho88.com" target="_blank">眼镜店</a>
            
                <a href="#//#wed114.cn" target="_blank">婚纱摄影</a>
            
                <a href="#//#boosj.com" target="_blank">播视网视频</a>
            
                <a href="#//#xiziwang.net" target="_blank">发型</a>
            
                <a href="#//#nz86.com" target="_blank">中国女装网</a>
            
                <a href="#//m.kuaidi100.com" target="_blank">快递查询</a>
            
                <a href="#//huochepiao.tieyou.com/" target="_blank">火车票查询</a>
            
                <a href="#//#cunan.com/" target="_blank">伊宅购村安商城</a>
            
                <a href="#//#kela.cn/" target="_blank">珂兰钻石</a>
            
                <a href="#//#juwai.com" target="_blank">海外房产</a>
            
                <a href="#//#9998.tv/" target="_blank">白酒招商</a>
            
                <a href="#//#airmb.com/" target="_blank">爱藏网</a>
            
                <a href="#//collection.sina.com.cn/ddys/" target="_blank">新浪当代艺术</a>
            
                <a href="#//#aitaocui.cn" target="_blank">淘翠网</a>
            
                <a href="#//cq.focus.cn/" target="_blank">重庆房产</a>
            
                <a href="#//weather.zuzuche.com/" target="_blank">天气预报查询</a>
            
                <a href="#//haitao.smzdm.com/" target="_blank">海淘</a>
            
                <a href="#//#258.com/" target="_blank">258</a>
            
                <a href="#//xuexiao.liuxue86.com/" target="_blank">大学院校库</a>
            
                <a href="#//#zocai.com/" target="_blank">佐卡伊钻戒</a>
            
                <a href="#//#nanhutravel.com/" target="_blank">南湖国旅</a>
            
                <a href="#//#5588.tv/" target="_blank">化妆品招商</a>
            
                <a href="#//#022003.com/" target="_blank">笔趣阁txt下载</a>
            
                <a href="#//nv.99.com.cn/" target="_blank">女性健康</a>
            
                <a href="#//#bloves.com/" target="_blank">钻戒</a>
            
                <a href="#//#cocodiy.com" target="_blank">礼物</a>
            
                <a href="#//news.wbiao.cn/" target="_blank">手表品牌大全</a>
            
                <a href="#//#crd.cn/" target="_blank">钻戒</a>
            
                <a href="#//marry.daoxila.com" target="_blank">婚嫁网</a>
                <a href="#//#jihaoba.com" target="_blank">手机靓号网</a>
                <a href="#//#64365.com" target="_blank">律师</a>
                
			</div>
			<!--友情链接end-->
			<!--中英文切换-->
			<div class="dr_langues">
				<a href="#//#darryring.com">中文简体/</a>
				<a href="#//#darryring.com/hk">繁体中文/</a>
				<a href="#//#darryring.com/en">English</a>
			</div>
			<!--中英文切换end-->
		</div>	
	</div>
	<!--黑色区域end-->	
</div>
<!--底部end-->
<!--右边漂浮件-->
<div class="dr_quickservice" id="dr-quickservice">
	<!--在线客服-->
	<div class="droline_kf droline_showkf">
		<!--客服提示文字-->
		<div class="droline_kfword">
			<span></span>
			<p>
				想了解更多钻石知识<br />我们有专业在线客服给您解答
			</p>
		</div>
		<!--客服提示文字end-->
		<!--温馨提示(1228)-->
		<div class="dr_Reminder">
			<span></span>
			<h3>温馨提示</h3>
			<p>亲爱的DR族，在春节和<br />情人节繁忙期间，为了<br />确保您定制的Darry <br />Ring可以及时送达，建<br />议您提前选购商品哦。<br />详情请咨询客服。</p>
		</div>
		<!--温馨提示(1228)end-->
		<img src="{{asset('Ding/images/zxkf.gif')}}" />
		
		<span >
			在线<br/>客服
		</span>
		<em class="droline_yleft"></em>
		<em class="droline_yright"></em>
	</div>
	<!--在线客服end-->
	<div class="dr_quick-cort">
		<a href="/cart" class="dr_quick2"></a>
		<div class="dr_quick-word em3">
			购物车
		</div>
	</div>
	<div class="dr_quick-cort">
		<a href="/user/order" class="dr_quick3"></a>
		<div class="dr_quick-word">
			我的订单
		</div>
	</div>
	<div class="dr_quick-cort">
		<a href="/user/collect" class="dr_quick4"></a>
		<div class="dr_quick-word">
			我的收藏
		</div>
	</div>
	<div class="dr_quick-cort">
		<a href="javascript:;" class="dr_quick5"></a>
		<div class="dr_quick-word">
			收藏网站
		</div>
	</div>
	<!--二维码-->
	
	<!--二维码end-->
	<div class="dr_quick-cort">
		<a href="javascript:;" class="dr_quick7"></a>
		<div class="dr_quick-word comShare">			
			<a class="shareWeibo" href="javascript:;"></a>
			<a class="shareQzone" href="javascript:;"></a>
			<a class="shareQweibo" href="javascript:;"></a>
			<a class="shareRenren" href="javascript:;"></a>
			<a class="shareDouban" href="javascript:;"></a>
		</div>
	</div>
	<div class="dr_quick-cort">
		<a href="javascript:;" class="dr_totop"></a>
		<div class="dr_quick-word">
			返回顶部
		</div>
	</div>
</div>
<!--右边漂浮件end-->
<!--透明背景-->
<div class="dr_blackwall"></div>
<!--透明背景end-->
<!--客服弹窗-->
<div class="drKf_tc">
	<span class="drKf_close"></span>
	<ul class="drKf_tcborder">
		<li>
			<a href="javascript:;" onclick="javascript:showxiaon('kf_9883_1402631963601');"></a>
			<span class="drsqkf">售前客服</span>
			<p>
				<i>商品选购</i>
				<i>活动资讯</i>
				<i>协助下单</i>
			</p>
		</li>
		<li>
			<a href="javascript:;" onclick="javascript:showxiaon('kf_9883_1432524866880');"></a>
			<span class="drshkf">售后客服</span>
			<p>
				<i>订制进度</i>
				<i>订单咨询</i>
				<i>退/换货款</i>
			</p>
		</li>
		<li>
			<a href="/help"></a>
			<span class="drotherHelp">帮助中心</span>
		</li>
	</ul>
</div>
<!--客服弹窗end-->
     <!--JS begin-->
    <script src="{{asset('Ding/js/sea.js')}}"></script>
    <script>
    var checkUrl = "/query";
    // seajs 配置
    seajs.config({
        debug: true,
        base: "/bundles/acmefrontend/",
        alias: {
          "jquery": "{{asset('Ding/js/lib/jquery/jquery.js')}}"
        }
    });
   
    </script>
       <script>
     var ajaxLoadCity = "/ajax/loadCity?id=%3Aid";
     var addressSaveUrl = "/order";
     var orderIndex = "/order";
     var orderModify = "/order/address/modify";
     var orderCreateUrl = "/order/create"; 
     var orderPayUrl= "/order/pay";
   
    </script>
</body>
</html>